<template>
  <div>
    <h3>这是孙子组件</h3>
    <p>来自于祖先的数据：{{ title }}</p>
    <input type="text" v-model="title">
  </div>
</template>

<script>
export default {
  inject: ["qwe"],
  data(){
    return {
      title: this.qwe
    }
  }
}
</script>